package com.service.iter;

import com.pojo.requestjson.FaceRecognitionRequest;
import com.util.Res;

/**
 * 消费者服务
 *
 * @author 蔡文欣
 * @date 2023/07/05 16:29:04
 */
public interface IConsumerService {
    /**
     * 添加消费者脸
     *
     * @param faceRecognitionRequest 人脸识别请求
     * @return {@link Res}
     * @throws Exception 异常
     */
    Res addConsumerFace(FaceRecognitionRequest faceRecognitionRequest) throws Exception;

    /**
     * 查询面
     *
     * @param id id
     * @return {@link Res}
     */
    Res queryFace(FaceRecognitionRequest id) throws Exception;
}
